Optimal. Leaf size=286 \[ \frac {4 c \left (33 a^2 d^2+b c (b c-6 a d)\right ) \sqrt {e x} \sqrt {c+d x^2}}{231 d^2 e}+\frac {2 \left (33 a^2 d^2+b c (b c-6 a d)\right ) \sqrt {e x} \left (c+d x^2\right )^{3/2}}{231 d^2 e}-\frac {2 b (b c-6 a d) \sqrt {e x} \left (c+d x^2\right )^{5/2}}{33 d^2 e}+\frac {2 b^2 (e x)^{5/2} \left (c+d x^2\right )^{5/2}}{15 d e^3}+\frac {4 c^{7/4} \left (33 a^2 d^2+b c (b c-6 a d)\right ) \left (\sqrt {c}+\sqrt {d} x\right ) \sqrt {\frac {c+d x^2}{\left (\sqrt {c}+\sqrt {d} x\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{d} \sqrt {e x}}{\sqrt [4]{c} \sqrt {e}}\right )|\frac {1}{2}\right )}{231 d^{9/4} \sqrt {e} \sqrt {c+d x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.18, antiderivative size = 286, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 5, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.179, Rules used = {475, 470, 285,
335, 226} \begin {gather*} \frac {4 c^{7/4} \left (\sqrt {c}+\sqrt {d} x\right ) \sqrt {\frac {c+d x^2}{\left (\sqrt {c}+\sqrt {d} x\right )^2}} \left (33 a^2 d^2+b c (b c-6 a d)\right ) F\left (2 \text {ArcTan}\left (\frac {\sqrt [4]{d} \sqrt {e x}}{\sqrt [4]{c} \sqrt {e}}\right )|\frac {1}{2}\right )}{231 d^{9/4} \sqrt {e} \sqrt {c+d x^2}}+\frac {2 \sqrt {e x} \left (c+d x^2\right )^{3/2} \left (33 a^2 d^2+b c (b c-6 a d)\right )}{231 d^2 e}+\frac {4 c \sqrt {e x} \sqrt {c+d x^2} \left (33 a^2 d^2+b c (b c-6 a d)\right )}{231 d^2 e}-\frac {2 b \sqrt {e x} \left (c+d x^2\right )^{5/2} (b c-6 a d)}{33 d^2 e}+\frac {2 b^2 (e x)^{5/2} \left (c+d x^2\right )^{5/2}}{15 d e^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 226
Rule 285
Rule 335
Rule 470
Rule 475
Rubi steps
\begin {align*} \int \frac {\left (a+b x^2\right )^2 \left (c+d x^2\right )^{3/2}}{\sqrt {e x}} \, dx &=\frac {2 b^2 (e x)^{5/2} \left (c+d x^2\right )^{5/2}}{15 d e^3}+\frac {2 \int \frac {\left (c+d x^2\right )^{3/2} \left (\frac {15 a^2 d}{2}-\frac {5}{2} b (b c-6 a d) x^2\right )}{\sqrt {e x}} \, dx}{15 d}\\ &=-\frac {2 b (b c-6 a d) \sqrt {e x} \left (c+d x^2\right )^{5/2}}{33 d^2 e}+\frac {2 b^2 (e x)^{5/2} \left (c+d x^2\right )^{5/2}}{15 d e^3}+\frac {1}{33} \left (33 a^2+\frac {b c (b c-6 a d)}{d^2}\right ) \int \frac {\left (c+d x^2\right )^{3/2}}{\sqrt {e x}} \, dx\\ &=\frac {2 \left (33 a^2+\frac {b c (b c-6 a d)}{d^2}\right ) \sqrt {e x} \left (c+d x^2\right )^{3/2}}{231 e}-\frac {2 b (b c-6 a d) \sqrt {e x} \left (c+d x^2\right )^{5/2}}{33 d^2 e}+\frac {2 b^2 (e x)^{5/2} \left (c+d x^2\right )^{5/2}}{15 d e^3}+\frac {1}{77} \left (2 c \left (33 a^2+\frac {b c (b c-6 a d)}{d^2}\right )\right ) \int \frac {\sqrt {c+d x^2}}{\sqrt {e x}} \, dx\\ &=\frac {4 c \left (33 a^2+\frac {b c (b c-6 a d)}{d^2}\right ) \sqrt {e x} \sqrt {c+d x^2}}{231 e}+\frac {2 \left (33 a^2+\frac {b c (b c-6 a d)}{d^2}\right ) \sqrt {e x} \left (c+d x^2\right )^{3/2}}{231 e}-\frac {2 b (b c-6 a d) \sqrt {e x} \left (c+d x^2\right )^{5/2}}{33 d^2 e}+\frac {2 b^2 (e x)^{5/2} \left (c+d x^2\right )^{5/2}}{15 d e^3}+\frac {1}{231} \left (4 c^2 \left (33 a^2+\frac {b c (b c-6 a d)}{d^2}\right )\right ) \int \frac {1}{\sqrt {e x} \sqrt {c+d x^2}} \, dx\\ &=\frac {4 c \left (33 a^2+\frac {b c (b c-6 a d)}{d^2}\right ) \sqrt {e x} \sqrt {c+d x^2}}{231 e}+\frac {2 \left (33 a^2+\frac {b c (b c-6 a d)}{d^2}\right ) \sqrt {e x} \left (c+d x^2\right )^{3/2}}{231 e}-\frac {2 b (b c-6 a d) \sqrt {e x} \left (c+d x^2\right )^{5/2}}{33 d^2 e}+\frac {2 b^2 (e x)^{5/2} \left (c+d x^2\right )^{5/2}}{15 d e^3}+\frac {\left (8 c^2 \left (33 a^2+\frac {b c (b c-6 a d)}{d^2}\right )\right ) \text {Subst}\left (\int \frac {1}{\sqrt {c+\frac {d x^4}{e^2}}} \, dx,x,\sqrt {e x}\right )}{231 e}\\ &=\frac {4 c \left (33 a^2+\frac {b c (b c-6 a d)}{d^2}\right ) \sqrt {e x} \sqrt {c+d x^2}}{231 e}+\frac {2 \left (33 a^2+\frac {b c (b c-6 a d)}{d^2}\right ) \sqrt {e x} \left (c+d x^2\right )^{3/2}}{231 e}-\frac {2 b (b c-6 a d) \sqrt {e x} \left (c+d x^2\right )^{5/2}}{33 d^2 e}+\frac {2 b^2 (e x)^{5/2} \left (c+d x^2\right )^{5/2}}{15 d e^3}+\frac {4 c^{7/4} \left (33 a^2+\frac {b c (b c-6 a d)}{d^2}\right ) \left (\sqrt {c}+\sqrt {d} x\right ) \sqrt {\frac {c+d x^2}{\left (\sqrt {c}+\sqrt {d} x\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{d} \sqrt {e x}}{\sqrt [4]{c} \sqrt {e}}\right )|\frac {1}{2}\right )}{231 \sqrt [4]{d} \sqrt {e} \sqrt {c+d x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 10.19, size = 223, normalized size = 0.78 \begin {gather*} \frac {\sqrt {x} \left (\frac {2 \sqrt {x} \left (c+d x^2\right ) \left (165 a^2 d^2 \left (3 c+d x^2\right )+30 a b d \left (4 c^2+13 c d x^2+7 d^2 x^4\right )+b^2 \left (-20 c^3+12 c^2 d x^2+119 c d^2 x^4+77 d^3 x^6\right )\right )}{5 d^2}+\frac {8 i c^2 \left (b^2 c^2-6 a b c d+33 a^2 d^2\right ) \sqrt {1+\frac {c}{d x^2}} x F\left (\left .i \sinh ^{-1}\left (\frac {\sqrt {\frac {i \sqrt {c}}{\sqrt {d}}}}{\sqrt {x}}\right )\right |-1\right )}{\sqrt {\frac {i \sqrt {c}}{\sqrt {d}}} d^2}\right )}{231 \sqrt {e x} \sqrt {c+d x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.11, size = 444, normalized size = 1.55
method | result | size |
risch | \(\frac {2 \left (77 b^{2} x^{6} d^{3}+210 a b \,d^{3} x^{4}+119 b^{2} c \,d^{2} x^{4}+165 a^{2} d^{3} x^{2}+390 a b c \,d^{2} x^{2}+12 b^{2} c^{2} d \,x^{2}+495 a^{2} c \,d^{2}+120 a b \,c^{2} d -20 b^{2} c^{3}\right ) x \sqrt {d \,x^{2}+c}}{1155 d^{2} \sqrt {e x}}+\frac {4 c^{2} \left (33 a^{2} d^{2}-6 a b c d +b^{2} c^{2}\right ) \sqrt {-c d}\, \sqrt {\frac {\left (x +\frac {\sqrt {-c d}}{d}\right ) d}{\sqrt {-c d}}}\, \sqrt {-\frac {2 \left (x -\frac {\sqrt {-c d}}{d}\right ) d}{\sqrt {-c d}}}\, \sqrt {-\frac {x d}{\sqrt {-c d}}}\, \EllipticF \left (\sqrt {\frac {\left (x +\frac {\sqrt {-c d}}{d}\right ) d}{\sqrt {-c d}}}, \frac {\sqrt {2}}{2}\right ) \sqrt {e x \left (d \,x^{2}+c \right )}}{231 d^{3} \sqrt {d e \,x^{3}+c e x}\, \sqrt {e x}\, \sqrt {d \,x^{2}+c}}\) | \(276\) |
elliptic | \(\frac {\sqrt {e x \left (d \,x^{2}+c \right )}\, \left (\frac {2 b^{2} d \,x^{6} \sqrt {d e \,x^{3}+c e x}}{15 e}+\frac {2 \left (2 a b \,d^{2}+\frac {17}{15} b^{2} c d \right ) x^{4} \sqrt {d e \,x^{3}+c e x}}{11 d e}+\frac {2 \left (a^{2} d^{2}+4 a b c d +b^{2} c^{2}-\frac {9 c \left (2 a b \,d^{2}+\frac {17}{15} b^{2} c d \right )}{11 d}\right ) x^{2} \sqrt {d e \,x^{3}+c e x}}{7 d e}+\frac {2 \left (2 a^{2} c d +2 a b \,c^{2}-\frac {5 c \left (a^{2} d^{2}+4 a b c d +b^{2} c^{2}-\frac {9 c \left (2 a b \,d^{2}+\frac {17}{15} b^{2} c d \right )}{11 d}\right )}{7 d}\right ) \sqrt {d e \,x^{3}+c e x}}{3 d e}+\frac {\left (a^{2} c^{2}-\frac {c \left (2 a^{2} c d +2 a b \,c^{2}-\frac {5 c \left (a^{2} d^{2}+4 a b c d +b^{2} c^{2}-\frac {9 c \left (2 a b \,d^{2}+\frac {17}{15} b^{2} c d \right )}{11 d}\right )}{7 d}\right )}{3 d}\right ) \sqrt {-c d}\, \sqrt {\frac {\left (x +\frac {\sqrt {-c d}}{d}\right ) d}{\sqrt {-c d}}}\, \sqrt {-\frac {2 \left (x -\frac {\sqrt {-c d}}{d}\right ) d}{\sqrt {-c d}}}\, \sqrt {-\frac {x d}{\sqrt {-c d}}}\, \EllipticF \left (\sqrt {\frac {\left (x +\frac {\sqrt {-c d}}{d}\right ) d}{\sqrt {-c d}}}, \frac {\sqrt {2}}{2}\right )}{d \sqrt {d e \,x^{3}+c e x}}\right )}{\sqrt {e x}\, \sqrt {d \,x^{2}+c}}\) | \(429\) |
default | \(\frac {\frac {2 b^{2} d^{5} x^{9}}{15}+\frac {4 a b \,d^{5} x^{7}}{11}+\frac {56 b^{2} c \,d^{4} x^{7}}{165}+\frac {4 \sqrt {\frac {d x +\sqrt {-c d}}{\sqrt {-c d}}}\, \sqrt {2}\, \sqrt {\frac {-d x +\sqrt {-c d}}{\sqrt {-c d}}}\, \sqrt {-\frac {x d}{\sqrt {-c d}}}\, \EllipticF \left (\sqrt {\frac {d x +\sqrt {-c d}}{\sqrt {-c d}}}, \frac {\sqrt {2}}{2}\right ) \sqrt {-c d}\, a^{2} c^{2} d^{2}}{7}-\frac {8 \sqrt {\frac {d x +\sqrt {-c d}}{\sqrt {-c d}}}\, \sqrt {2}\, \sqrt {\frac {-d x +\sqrt {-c d}}{\sqrt {-c d}}}\, \sqrt {-\frac {x d}{\sqrt {-c d}}}\, \EllipticF \left (\sqrt {\frac {d x +\sqrt {-c d}}{\sqrt {-c d}}}, \frac {\sqrt {2}}{2}\right ) \sqrt {-c d}\, a b \,c^{3} d}{77}+\frac {4 \sqrt {\frac {d x +\sqrt {-c d}}{\sqrt {-c d}}}\, \sqrt {2}\, \sqrt {\frac {-d x +\sqrt {-c d}}{\sqrt {-c d}}}\, \sqrt {-\frac {x d}{\sqrt {-c d}}}\, \EllipticF \left (\sqrt {\frac {d x +\sqrt {-c d}}{\sqrt {-c d}}}, \frac {\sqrt {2}}{2}\right ) \sqrt {-c d}\, b^{2} c^{4}}{231}+\frac {2 a^{2} d^{5} x^{5}}{7}+\frac {80 a b c \,d^{4} x^{5}}{77}+\frac {262 b^{2} c^{2} d^{3} x^{5}}{1155}+\frac {8 a^{2} c \,d^{4} x^{3}}{7}+\frac {68 a b \,c^{2} d^{3} x^{3}}{77}-\frac {16 b^{2} c^{3} d^{2} x^{3}}{1155}+\frac {6 a^{2} c^{2} d^{3} x}{7}+\frac {16 a b \,c^{3} d^{2} x}{77}-\frac {8 b^{2} c^{4} d x}{231}}{\sqrt {d \,x^{2}+c}\, d^{3} \sqrt {e x}}\) | \(444\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.30, size = 157, normalized size = 0.55 \begin {gather*} \frac {2 \, {\left (20 \, {\left (b^{2} c^{4} - 6 \, a b c^{3} d + 33 \, a^{2} c^{2} d^{2}\right )} \sqrt {d} {\rm weierstrassPInverse}\left (-\frac {4 \, c}{d}, 0, x\right ) + {\left (77 \, b^{2} d^{4} x^{6} - 20 \, b^{2} c^{3} d + 120 \, a b c^{2} d^{2} + 495 \, a^{2} c d^{3} + 7 \, {\left (17 \, b^{2} c d^{3} + 30 \, a b d^{4}\right )} x^{4} + 3 \, {\left (4 \, b^{2} c^{2} d^{2} + 130 \, a b c d^{3} + 55 \, a^{2} d^{4}\right )} x^{2}\right )} \sqrt {d x^{2} + c} \sqrt {x}\right )} e^{\left (-\frac {1}{2}\right )}}{1155 \, d^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 9.83, size = 306, normalized size = 1.07 \begin {gather*} \frac {a^{2} c^{\frac {3}{2}} \sqrt {x} \Gamma \left (\frac {1}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {1}{4} \\ \frac {5}{4} \end {matrix}\middle | {\frac {d x^{2} e^{i \pi }}{c}} \right )}}{2 \sqrt {e} \Gamma \left (\frac {5}{4}\right )} + \frac {a^{2} \sqrt {c} d x^{\frac {5}{2}} \Gamma \left (\frac {5}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {5}{4} \\ \frac {9}{4} \end {matrix}\middle | {\frac {d x^{2} e^{i \pi }}{c}} \right )}}{2 \sqrt {e} \Gamma \left (\frac {9}{4}\right )} + \frac {a b c^{\frac {3}{2}} x^{\frac {5}{2}} \Gamma \left (\frac {5}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {5}{4} \\ \frac {9}{4} \end {matrix}\middle | {\frac {d x^{2} e^{i \pi }}{c}} \right )}}{\sqrt {e} \Gamma \left (\frac {9}{4}\right )} + \frac {a b \sqrt {c} d x^{\frac {9}{2}} \Gamma \left (\frac {9}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {9}{4} \\ \frac {13}{4} \end {matrix}\middle | {\frac {d x^{2} e^{i \pi }}{c}} \right )}}{\sqrt {e} \Gamma \left (\frac {13}{4}\right )} + \frac {b^{2} c^{\frac {3}{2}} x^{\frac {9}{2}} \Gamma \left (\frac {9}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {9}{4} \\ \frac {13}{4} \end {matrix}\middle | {\frac {d x^{2} e^{i \pi }}{c}} \right )}}{2 \sqrt {e} \Gamma \left (\frac {13}{4}\right )} + \frac {b^{2} \sqrt {c} d x^{\frac {13}{2}} \Gamma \left (\frac {13}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {13}{4} \\ \frac {17}{4} \end {matrix}\middle | {\frac {d x^{2} e^{i \pi }}{c}} \right )}}{2 \sqrt {e} \Gamma \left (\frac {17}{4}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (b\,x^2+a\right )}^2\,{\left (d\,x^2+c\right )}^{3/2}}{\sqrt {e\,x}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________